In [ ]:
import os
import os.path as op
itasser_download_link
itasser_version_number
Installation will be complete after this. Your paths to execute I-TASSER using ssbio are:
~/software/itasser/I-TASSER5.1/I-TASSERmod/runI-TASSER.pl
with a library directory of
~/software/itasser/ITLIB
In [ ]:
# Step 2
itasser_download_link = 'my_download_link'
# Step 3
itasser_version_number = '5.1'
In [ ]:
# Step 4
itasser_archive = itasser_download_link.split('/')[-1]
os.mkdir(op.expanduser('~/software/itasser/'))
os.chdir(op.expanduser('~/software/itasser/'))
!wget $itasser_download_link
!tar -jxf $itasser_archive
In [ ]:
# Step 5
os.mkdir(op.expanduser('~/software/itasser/ITLIB'))
!./I-TASSER5.1/download_lib.pl -libdir ITLIB
tmhmm_download_link
tmhmm
.
In [ ]:
# Step 2
tmhmm_download_link = 'my_download_link'
In [ ]:
# Step 3
os.mkdir(op.expanduser('~/software/tmhmm/'))
os.chdir(op.expanduser('~/software/tmhmm/'))
!wget $tmhmm_download_link
!tar -zxf tmhmm-2.0c.Linux.tar.gz
# Replace perl path
os.chdir(op.expanduser('~/software/tmhmm/tmhmm-2.0c/bin'))
!perl -i -pe 's{^#!/usr/local/bin/perl}{#!/usr/bin/perl}' tmhmm
!perl -i -pe 's{^#!/usr/local/bin/perl -w}{#!/usr/bin/perl -w}' tmhmmformat.pl
# Create symbolic links
!ln -s $HOME/software/tmhmm/tmhmm-2.0c/bin/* /srv/venv/bin/